#pragma once

#include <string>
#include <vector>
#include <map>

class DocumentManager;

class RelevantData
{
public:
	bool isRelevantDocument(unsigned int documentIndex);
	int queryIndex;
	std::vector<unsigned int> documentList;
};

class RelevanceFeedbackManager
{
public:
	RelevanceFeedbackManager(DocumentManager& dm, std::string& filename);
	virtual ~RelevanceFeedbackManager();
	RelevantData* GetRelevantData(unsigned int index);
	typedef std::map<unsigned int, RelevantData*> RelevantDataMap;
private:
	 RelevantDataMap relevantDataMap;
};